package com.qr.bean.wmyw;

import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:26:46
 */
@ApiModel(value = "qr_sys_tags", description = "标签")
@TableName(value = "qr_sys_tags")
public class QrSysTags implements Serializable {
	@ApiModelProperty(value = "自增主键")
	@TableId(type = IdType.AUTO,value = "tag_id")
	@NotNull(message = "自增主键不能为空")
	private Integer tag_id;
	@ApiModelProperty(value = "系统标签=1 用户标签=2")
	@TableField(value="tag_type")
	private Integer tag_type;
	@ApiModelProperty(value = "标签大类")
	@TableField(value="tag_class")
	private String tag_class;
	@ApiModelProperty(value = "标签名称")
	@TableField(value="tag_name")
	private String tag_name;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getTag_id() {
		return tag_id;
	}
	public void setTag_id(Integer tag_id) {
		this.tag_id = tag_id;
	}
 
	public Integer getTag_type() {
		return tag_type;
	}
	public void setTag_type(Integer tag_type) {
		this.tag_type = tag_type;
	}
 
	public String getTag_class() {
		return tag_class;
	}
	public void setTag_class(String tag_class) {
		this.tag_class = tag_class;
	}
 
	public String getTag_name() {
		return tag_name;
	}
	public void setTag_name(String tag_name) {
		this.tag_name = tag_name;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}